

export const onlineStatus = [
  {
    key: 3,
    value: '在线',
    className: 'bg-success'
  },
  {
    key: 5,
    value: '离线',
    className: 'bg-grey'
  },
]

export const leftNavs = [
  {
    key: 0,
    value: '基础信息',
    comp: 'base-info'
  },
  {
    key: 1,
    value: '监控信息',
    comp: 'monitor-info'
  },
]

export const paramTabs = [
  {
    key: 'plc',
    value: 'PLC点位',
  },
  {
    key: 'cnc',
    value: 'CNC宏变量',
  },
]

export const confTabs = [
  {
    key: 'server',
    value: '服务器配置',
  },
  {
    key: 'collect',
    value: '数采盒配置',
  },
]

export const reportWays = [
  {
    key: '0',
    value: 'HTTP',
  },
  {
    key: '1',
    value: 'MQTT',
  },
]

export const updateStates = [
  {
    key: 0,
    value: '失败',
  },
  {
    key: 1,
    value: '成功',
  },
  {
    key: 2,
    value: '未知',
  },
]


export const sources = [
  {
    k: '0',
    v: '本地',
  },
  {
    k: '1',
    v: '远程',
  },
]